﻿/**
 *
 * @file FITKSpectraWavenumber.h
 * @brief 波数谱数据类声明
 * @author XingXuanCi (xingxuanci@diso.cn)
 * @date 2024-11-1
 *
 */
#ifndef _FITKSpectraWavenumber_H
#define _FITKSpectraWavenumber_H

#include "FITKAcousticsPhysicsAPI.h"
#include "FITKSpectraAbstractModalDensity.h"

namespace Acoustics
{
    /**
     * @brief  波数谱数据类声明
     * @author XingXuanCi (xingxuanci@diso.cn)
     * @date   2024-11-01
     */
    class FITKAcousticsPhysicsAPI FITKSpectraWavenumber : public FITKSpectraAbstractModalDensity
    {
        Q_OBJECT;
    public:
        /**
         * @brief    构造函数
         * @author   XingXuanCi (xingxuanci@diso.cn)
         * @date     2024-10-30
         */
        explicit FITKSpectraWavenumber();
        /**
         * @brief    析构函数
         * @author   XingXuanCi (xingxuanci@diso.cn)
         * @date     2024-10-30
         */
        virtual ~FITKSpectraWavenumber();
        /**
         * @brief    获取频谱类型
         * @return   AcousticsSpectraType
         * @author   XingXuanCi (xingxuanci@diso.cn)
         * @date     2024-10-30
         */
        virtual FITKAcousticsAbstractSpectra::AcousticsSpectraType getSpectraType() override;
        /**
         * @brief    是否是实数
         * @return   是否是实数
         * @author   XingXuanCi (xingxuanci@diso.cn)
         * @date     2024-11-01
         */
        bool isRealValue() override;
        /**
         * @brief    获取DB的默认系数
         * @return   double
         * @author   liuzhonghua (liuzhonghuaszch@163.com)
         * @date     2024-12-04
         */
        virtual double getDBDefaultCoefficient() override;

    protected:
        /**
         * @brief    初始化数据
         * @author   liuzhonghua (liuzhonghuaszch@163.com)
         * @date     2024-12-04
         */
        virtual void initData()override;
    };
}

#endif
